<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>{$Think.config.title} &rsaquo; 重置密码 &rsaquo; Powered by ThinkBLOG</title>
<link rel='stylesheet' id='login-css' href='__PUBLIC__/admin/css/login.css?{$Think.const.VERHASH}' type='text/css' media='all'/>
<link rel='stylesheet' id='colors-fresh-css' href='__PUBLIC__/admin/css/colors-fresh.css?{$Think.const.VERHASH}' type='text/css' media='all'/>
<style type="text/css" media="screen">
* { font: 12px Segoe UI,Tahoma,Arial,Verdana,simsun,sans-serif,"Microsoft YaHei"; }
</style>
<script type='text/javascript' src='__PUBLIC__/js/jquery.js?{$Think.const.VERHASH}'></script>
<script type='text/javascript' src='__PUBLIC__/admin/js/Base.js?{$Think.const.VERHASH}'></script>
<script type='text/javascript' src='__PUBLIC__/admin/js/ThinkAjax.js?{$Think.const.VERHASH}'></script>
<script type="text/javascript">
function resetpassformHandle(data,status) {
	if (status==1) {
		setTimeout("window.location.href = '{:U('/user/login')}'", 2000);
	}
}

document.onkeydown = function (e) { 
	var theEvent = window.event || e; 
	var code = theEvent.keyCode || theEvent.which; 
	if (code == 13) { 
		$("#cmt-submit").click(); 
	} 
}
</script>
</head>
<body class="login">
<div id="login">
	<h1><a href="###" title="基于 ThinkBLOG">{$Think.config.title}</a></h1>
	<p class="message reset-pass">
		请在下方输入您的新密码。
	</p>
	<div id="login_error">
	</div>
	<form name="resetpassform" id="resetpassform">
		<input type="hidden" id="userid" name="userid" value="{$userid}" autocomplete="off"/>
		<input type="hidden" id="key" name="key" value="{$key}" autocomplete="off"/>
		<p>
			<label>新密码<br/>
			<input type="password" name="pass1" id="pass1" class="input" size="20" value="" autocomplete="off"/></label>
		</p>
		<p>
			<label>确认新密码<br/>
			<input type="password" name="pass2" id="pass2" class="input" size="20" value="" autocomplete="off"/></label>
		</p>
		<div id="pass-strength-result" class="hide-if-no-js">
			强度评估
		</div>
		<p class="description indicator-hint">
			提示：您的密码最好至少包含 7 个字符。为了保证密码强度，使用大小写字母，数字和符号，例如 ! " ? $ % ^ &amp; )。
		</p>
		<br class="clear"/>
		<p class="submit">
			<input type="button" name="cmt-submit" id="cmt-submit" class="button-primary" value="重置密码" tabindex="100" onclick="ThinkAjax.sendForm('resetpassform','{:U('Admin/Privilege/modify','',false)}',resetpassformHandle,'login_error');"/>
		</p>
		<input type="hidden" name="ajax" value="1"/>
	</form>
	<p id="nav">
		<a href="{:U('/user/login')}">登录</a><php> if ( !defined ( '__NO_REGISTER__' )) { echo 
	' | <a href="'.U('/user/register').'">注册</a>';
	}</php>
	</p>
	<p id="backtoblog">
		<a href="{$Think.config.website}" title="不知道自己在哪？">&larr; 回到 {$Think.config.title}</a>
	</p>
</div>
<script type='text/javascript'>
/* <![CDATA[ */
var pwsL10n = {
	empty: "强度评估",
	short: "极弱",
	bad: "弱",
	good: "中等",
	strong: "强",
	mismatch: "不匹配"
};
try{convertEntities(pwsL10n);}catch(e){};
/* ]]> */
</script>
<script type='text/javascript' src='__PUBLIC__/admin/js/password-strength-meter.js?{$Think.const.VERHASH}'></script>
<script type='text/javascript' src='__PUBLIC__/admin/js/user-profile.js?{$Think.const.VERHASH}'></script>
</body>
</html>{__NORUNTIME__}